<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ page import="java.util.*" %>
<%@ page import="org.jackysoft.query.*" %>
<%@ page import="org.jackysoft.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body>
<%
Map<String,String> nameMap = new HashMap<String,String>(){
	{
		put("name","名称");
		put("typicalness","型号");
		put("manufacture","生产厂家");
		put("outDate","出厂日期");
		put("outNo","出厂编号");
		put("price","价格");
		put("power","功率");
		put("assetsNo","固定资产编号");
		put("cardNo","卡号");
		put("fundsFrom","购置资金来源令号");
		put("outDepositoryDate","退库日期");
		
	}
	

	    
  };
  
  pageContext.setAttribute("nameMap",nameMap);

  pageContext.setAttribute("inOprs",CompareRelation.values());
  
  pageContext.setAttribute("outOprs",LogicRelations.values());  
  

%>

<c:forEach items="${nameMap}" var="name" varStatus="vs">
   ${name.key}->${name.value}
</c:forEach>

<select>
<c:forEach items="${inOprs}" var="iopr">
          <option value="${iopr.value}">${iopr.name}</option>
       </c:forEach>
</select>
</body>
</html>